<template>
	<div>
		<van-sticky>
			<navHeader></navHeader>
		</van-sticky>
		<cart></cart>
		
	</div>
</template>
<script>
	
	import cart from "../components/cart.vue"
	import navHeader from "../components/nav.vue"
	import {mapMutations} from "vuex"
	export default {
		components: {
			cart,navHeader
		},
		methods:{
			...mapMutations(['delCart']),
			del(){
				this.delCart();
			}
		}
	}
</script>
<style scoped="scoped">
	.search-top {
		background: pink;
		width: 100%;
		height: 50px;
	}

	.cart-text {
		color: white;
		font-size: 18px;
		line-height: 50px;
		font-weight: bold;
	}

	.gray-text {
		color: #EEEEEE;
		line-height: 50px;
	}
</style>
